package com.ynet.middleground.riskmanage.bean.hangxin;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.ynet.core.common.BaseReqObj;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;

/**
 * @author liwq
 * @description 红字发票申请单上传 请求信息
 * @date 2021-11-05 16:04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "红字发票申请单上传请求信息", description = "红字发票申请单上传请求信息")
public class HzfpsqdscReq extends BaseReqObj {

    private static final long serialVersionUID = -5082895736544970973L;

    @XStreamAlias("NSRSBH")
    @ApiModelProperty(value = "纳税人识别号", notes = "纳税人识别号", required = true)
    @NotEmpty(message = "纳税人识别号不能为空")
    private String nsrsbh;

    @ApiModelProperty(value = "分机号", notes = "分机号", required = true)
    @NotEmpty(message = "分机号不能为空")
    @XStreamAlias("FJH")
    private String fjh;

    @ApiModelProperty(value = "信息表流水号", notes = "信息表流水号")
    @XStreamAlias("XXBLSH")
    private String xxblsh;

    @ApiModelProperty(value = "操作类型(空和 0 时，是上传（上传开放平台未上传、上传中的红字信息表）;1 时，是删除（删除开放平台未上传的红字信息表），其他值为非法)",
        notes = "操作类型(空和 0 时，是上传（上传开放平台未上传、上传中的红字信息表）;1 时，是删除（删除开放平台未上传的红字信息表），其他值为非法)")
    @XStreamAlias("CZLX")
    private String czlx;

}
